/*
 * @Author: your name
 * @Date: 2020-05-07 11:49:38
 * @LastEditTime: 2020-10-20 10:37:05
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /yigo/App.js
 */

/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 *
 * @format
 * @flow strict-local
 */

import React, { Component } from 'react'
import { Provider } from 'react-redux';
import {
  View,
} from 'react-native';
import Router from './Router'
import configureStore from './Store'

global.pagecount = 10
let store = configureStore()

class App extends Component {

  

  render() {
    return (
      <View style={{flex:1,backgroundColor:'red'}}>
          <Provider store={store}>
            <Router/>
          </Provider>
      </View>
      
    );
  }
}

export default App

